import { Message } from 'element-ui';
import { apis } from '../../../config/request.config.js';
import { request } from '../../common/request.js';
export default {

    data() {
        return {
            name: '',
            password: '',
            systemName:''
        }
    },

    components: {},

    computed: {

    },
    methods: {
        sub() {
            let self = this,
                jn = self.name,
                pd = self.password;
            if (!jn || !pd) {
                Message({
                    showClose: true,
                    message: '账号和密码必须完整',
                    type: 'error'
                })
                return;
            }
            window.location.href = "http://localhost:8080/#/index"
        }
    },
    mounted(){
        let _this = this;
        _this.name = "";
        _this.password = "";
    }
}